package com.easy.admin.system.test.netty.chat;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

/**
 * @author wangbo
 * @deprecated netty client for chat handler
 *
 */
public class ChatClientHandler extends SimpleChannelInboundHandler<String> {

    //读取服务器发送回来的数据
    @Override
    protected void channelRead0(ChannelHandlerContext channelHandlerContext, String s) throws Exception {
        System.out.println(s);
    }
}
